package com.sbox.album.model;

import java.util.ArrayList;
import java.util.List;

public class DateAlbumInfo {
	private long mDate = 0;
	private List<PictureInfo> mPictures = new ArrayList<PictureInfo>();
	
	public DateAlbumInfo(long date) {
		mDate = date;
	}
	
	public void addPicture(PictureInfo pic) {
		mPictures.add(pic);
	}
	
	public long getDate() {
		return mDate;
	}
	
	public PictureInfo[] getPictures() {
		return mPictures.toArray(new PictureInfo[mPictures.size()]);
	}
}
